home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 November / PCWorld_2006-11_cd.bin / v cisle / feedreader / FeedReader306Setup.exe / {app} / udf / fbudf.txt < prev    next >
Text File  |  2002-06-29  |  1KB  |  48 lines

  1. FBUDF, a small project to enhance ibudf.
  2.  
  3. The library ibudf that comes with IB5, IB6 and FB has some generic routines.
  4. However, it lacks others and it seems a good idea to enhance it with more
  5. functionality. The first test is to build a separate small library. When those
  6. functions have been tested, they may be included in ibudf. This way, it's possible
  7. to experiment with fbudf without mangling the established library.
  8.  
  9. This is initially a MSVC project for Windows. It will be generalized later.
  10. It doesn't use ib_util because it relies on the engine providing return
  11. arguments when they are of type string.
  12.  
  13. Originally, this library intends to offer:
  14.  
  15. NVL => one for integers and the other for strings. This way, the overhead
  16. for strings can be avoided for integers.
  17.  
  18. NULLIF => same idea than before.
  19.  
  20. DOW (Day of Week) Monday, Tuesday, Wednesday ...
  21. SDOW(Short Day of Week)  Mon, Tue, Wed, Thu ....
  22.  
  23. (
  24. The following two aren't necessary:
  25. SUBSTR: It has been superseded by internal SUBSTRING in Firebird.
  26. LEFT: You can use SUBSTRING(s from 1 for N) in Firebird
  27. )
  28.  
  29. RIGHT: This will work only for 1-byte charsets.
  30.  
  31. TRUNCATE / ROUND 
  32.  
  33. (
  34. The following two are already in udflib:
  35. CEILING / FLOOR
  36. )
  37.  
  38. Date manipulation stuff ...
  39.   Add a day, week, month, year to a date.
  40.  
  41. String <-> BLOB
  42.   STRING2BLOB
  43. (Firebird already is capable of accepting a string to populate a blob on INSERT only.)
  44.  
  45. ---
  46. Claudio Valderrama - July 2001.
  47.  
  48.